package com.oauth.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.oauth.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ysy
 */
@Repository
public interface UserDao extends BaseMapper<User> {
    /**
     * 查询用户权限
     * @param id
     * @return
     */
    List<String> selectPermission(Long id);
}
